package com.common.enums;

public enum PublicEnum
{
    /**
     * 否
     */
    NO(0, "否", "N", "no"),
    /**
     * 是
     */
    YES(1, "是", "Y", "yes");

    /**
     * 状态
     */
    private Integer state;

    /**
     * 描述
     */
    private String desc;

    /**
     * 缩写
     */
    private String ab;

    /**
     * 英文
     */
    private String en;

    PublicEnum(int state, String desc, String ab, String en)
    {
        this.state = state;
        this.desc = desc;
        this.ab = ab;
        this.en = en;
    }

    public Integer getState()
    {
        return state;
    }

    public void setState(Integer state)
    {
        this.state = state;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getAb()
    {
        return ab;
    }

    public void setAb(String ab)
    {
        this.ab = ab;
    }

    public String getEn()
    {
        return en;
    }

    public void setEn(String en)
    {
        this.en = en;
    }
}
